query parameter c# controller

47

query parameter c# controller -

//ASP.NET Core will automatically bind form values, route values and query strings by name. 
//This means you can simply do this:
[HttpGet()]
public IActionResult Get(int page)
{ ... }

Comments

Submit
0 Comments